Reindexing Files
Stephen B. - October 25th, 2007

Ever attempt to solve a problem – only to realize that you had already solved it several years earlier? While getting my BeOS machine back up and running recently, I ran into that situation. I figured that it was a good time to upgrade the hard drive while I was working on it anyway, and ended up having to reindex some files on the new drive – but I couldn’t remember the proper syntax for the “reindex” app. Fortunately, a few minutes of searching Usenet via Google Groups revealed that some helpful fellow had already posted the answer to comp.sys.be.help back in 2002. And to my amusement, it turns out I had made the post.

For anyone who might find the info useful, here are three examples for reindexing BeMail, Person, and MP3 files (respectively):

reindex -r -v "MAIL:*" mail/
reindex -r -v "META:*" people/
reindex -r -v "AUDIO:*" mp3/

While there’s always the more manual method of duplicating / copying the files and deleting the originals, the reindex app is a bit simpler if you have a large number of files to deal with.

Category: News   -   Comments RSS   -   Post a Comment   -   Trackback  

« »